#ifndef SYNTAXVALIDATOR_H
#define SYNTAXVALIDATOR_H

#include <stdio.h>
#include <stdlib.h>
#include "ast.h"
#include "error.h"
#include "trace.h"
#include "symTree.h"

extern int validateSyntax(ASTTREE tree,SYMTREE sym);
extern int validateInstructionList(ASTTREE tree,SYMTREE sym, int currentType);
extern int GetType(ASTTREE tree,SYMTREE sym);
extern int validateArgs(ASTTREE callArgs, SYMTREE definitionArgs, SYMTREE sym );
extern SYMTREE getFunctionDefinition(ASTTREE tree,SYMTREE sym);
extern void fillFunctSymTable(SYMTREE sym, ASTTREE tree);
#endif
